import { request } from 'umi';

//修改密码
export async function ModifyPasswordRequest(
    body:AircasKB.SetPassword.ModifyPasswordRequestParams,
    options?: {[key: string]: any;
    }){
    return request<AircasKB.ResponseType<AircasKB.SetPassword.ModifyPasswordResponse>>(
        `/aircaskb/sys/user/modifyPassword`,
        {
            method:"POST",
            data:body,
            ...(options || {}),});
}